// 响应体类型定义
export interface ResponseBody {
  code: string;
  success: boolean;
  message: string;
  type: string;
  data?: any;
}

// 用户相关类型
export interface User {
  id: number;
  username: string;
  sex: string;
  phoneNum: string;
  email: string;
  birth: string;
  introduction: string;
  location: string;
}

// 歌曲相关类型
export interface Song {
  id: number;
  songName: string;
  singerName: string;
  songUrl: string;
  songPic: string;
  lyric: string;
  songTime: string;
  songAlbum: string;
  songLanguage: string;
  songStyle: string;
}

// 歌单相关类型
export interface SongList {
  id: number;
  title: string;
  pic: string;
  style: string;
  introduction: string;
}

// 歌手相关类型
export interface Singer {
  id: number;
  name: string;
  sex: string;
  pic: string;
  birth: string;
  location: string;
  introduction: string;
}

// 收藏相关类型
export interface Collection {
  userId: number;
  type: string;
  songId: number;
}

// 评分相关类型
export interface Rank {
  songListId: number;
  consumerId: number;
  score: number;
}

// 路由选项类型
export interface RouterOptions {
  path: string;
  query?: Record<string, any>;
}


